<div class="search-topa search-topa-s5 clearfloat">
	<div class="search-topa1">
		<span class="gary6">日期：</span>
	</div>
	<ul class="search-topa2 search-topa2-s2">
		<li class="search-topa2-ft">
			<a href="${ctxPath}${result.urls.holiday}"<%if(result.params["holiday"] == null){%> class="search-topa-bga"<%}%>>全部<div class="search-tl"></div><div class="search-rt"></div><div class="search-bl"></div><div class="search-br"></div></a>
		</li>
		<li>|</li>
		<li class="search-topa2-ft">
		    <a holiday="today" href="${ctxPath}${result.urls.holiday}holiday=today"<%if(result.params["holiday"]=='today'){%> class="search-topa-bga"<%}%>>今天<div class="search-tl"></div><div class="search-rt"></div><div class="search-bl"></div><div class="search-br"></div></a>
		</li>
		<li>|</li>
		<li class="search-topa2-ft">
		   <a holiday="tomorrow" href="${ctxPath}${result.urls.holiday}holiday=tomorrow"<%if(result.params["holiday"]=='tomorrow'){%> class="search-topa-bga"<%}%>>明天<div class="search-tl"></div><div class="search-rt"></div><div class="search-bl"></div><div class="search-br"></div></a>
		</li>
		<li>|</li>
		<li class="search-topa2-ft">
			<a holiday="thisWeek" href="${ctxPath}${result.urls.holiday}holiday=thisWeek"<%if(result.params["holiday"]=='thisWeek'){%> class="search-topa-bga"<%}%>>本周内<div class="search-tl"></div><div class="search-rt"></div><div class="search-bl"></div><div class="search-br"></div></a>
		</li>
		<li>|</li>
		<li class="search-topa2-ft">
		  <a holiday="thisWeekEnd" href="${ctxPath}${result.urls.holiday}holiday=thisWeekEnd"<%if(result.params["holiday"]=='thisWeekEnd'){%> class="search-topa-bga"<%}%>>周末<div class="search-tl"></div><div class="search-rt"></div><div class="search-bl"></div><div class="search-br"></div></a>
		</li>
	    <li>|</li>
	</ul>
	<ul class="search-topa2 search-topa2-lineh">
		<li class="search-topa2-bt"><span>节假日：</span></li>
		<li>
			<p class="search-topa2-sp2" id="text_search_holiday">
			</p>
		</li>
		<li class="search-topa2-bt"><span>按范围：</span></li>
		<li><p class="search-topa2-sp2-inp2"><input type="text" id="bdatetime" value='${result.params.bdatetime!""}' readonly="readonly" onfocus="WdatePicker()"></p></li>
		<li class="search-topa2-bt1">至</li>
		<li><p class="search-topa2-sp2-inp2"><input type="text" id="edatetime" value='${result.params.edatetime!""}' readonly="readonly" onfocus="WdatePicker()"></p></li>
		<li><a href="#" class="search-top-submit"></a></li>
		<script>
			$(".search-top-submit").click(
				function() {
					//var datetime = ($("#bdatetime").val().trim() + $("#edatetime").val().trim()).replace(/-/g, "");
					var bdatetime = $("#bdatetime").val();
					var edatetime = $("#edatetime").val();
					if(bdatetime || edatetime){
						var holiday = '';
						if(bdatetime && edatetime){
							holiday = bdatetime+","+edatetime;
						}else {
							holiday = bdatetime?bdatetime:edatetime;
						}
						document.location.href = "${ctxPath}${result.urls.holiday}holiday="+holiday;
					}
			});
		</script>
	</ul>
</div>

<!--节假日下拉-->
<div class="search-holiday holiday">
	<ul>
		<li rel="yuandan">
			<a holiday="yuandan" href="${ctxPath}${result.urls.holiday}holiday=yuandan" >元旦</a>
		</li>
		<li rel="qingren">
			<a holiday="qingren" href="${ctxPath}${result.urls.holiday}holiday=qingren" >情人节</a>
		</li>
		<li rel="wuyi">
			<a holiday="wuyi" href="${ctxPath}${result.urls.holiday}holiday=wuyi" >劳动节</a>
		</li>
		<li rel="ertong">
			<a holiday="ertong" href="${ctxPath}${result.urls.holiday}holiday=ertong" >儿童节</a>
		</li>
		<li rel="guoqing">
			<a holiday="guoqing" href="${ctxPath}${result.urls.holiday}holiday=guoqing" >国庆节</a>
		</li>
		<li rel="guanggun">
			<a holiday="guanggun" href="${ctxPath}${result.urls.holiday}holiday=guanggun" >光棍节</a>
		</li>
		<li rel="shengdan">
			<a holiday="shengdan" href="${ctxPath}${result.urls.holiday}holiday=guanggun" >圣诞节</a>
		</li>
	</ul>
</div>